package com.dao;


import com.bean.Seckill;
import com.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Samsara
* @description 针对表【seckill(秒杀商品表)】的数据库操作Mapper
* @createDate 2023-01-18 03:30:56
* @Entity generator.domain.Seckill
*/
public interface SeckillMapper {

    Integer insertBatch(List<Seckill> seckillList);

    Integer updateBatch(List<Seckill> seckillList);

    Integer deleteBatch(List<Seckill> seckillList);

    List<Seckill> selectSeckillList(List<Seckill> seckillList);

    List<Seckill> selectSeckillListAndUserList(@Param("list") List<Seckill> seckillList, @Param("start")Integer start, @Param("end")Integer end);

    List<Seckill> selectSeckillListAndGoodsList(@Param("list") List<Seckill> seckillList, @Param("start")Integer start, @Param("end")Integer end);


}
